Category:OSW81e9e22e7d934382a6a56df7d3736957: Difference between revisions

Update package: OSW Base
(Install package: OSW Base)
 
(Update package: OSW Base)
 
(4 intermediate revisions by 2 users not shown)
jsondata
Line 1: Line 1:
{
{
     "subclass_of": [
     "subclass_of": [
         "Category:Item"
         "Category:OSWe2c50b1034684c1b9a5c21ad371d6381"
    ],
    "type": [
        "Category:Category"
     ],
     ],
     "uuid": "81e9e22e-7d93-4382-a6a5-6df7d3736957",
     "uuid": "81e9e22e-7d93-4382-a6a5-6df7d3736957",
    "name": "Recipe",
     "label": [
     "label": [
         {
         {
             "text": "Recipe",
             "text": "Recipe",
             "lang": "en"
             "lang": "en"
        },
        {
            "text": "Rezept",
            "lang": "de"
        }
    ],
    "description": [
        {
            "text": "Preparation instructions, e.g. for a dish",
            "lang": "en"
        },
        {
            "text": "Eine Zubereitungsanleitung, z. B. für ein Gericht",
            "lang": "de"
         }
         }
     ],
     ],
     "utf8_icon": [
     "utf8_icon": [
         "📝"
         "📝"
    ],
    "name": "Recipe",
    "instance_rdf_type": [
        "schema:Recipe"
     ]
     ]
}
}
jsonschema
Line 1: Line 1:
{
{
     "@context": [
     "@context": [
        "/wiki/Category:Item?action=raw\u0026slot=jsonschema",
         {
         {
             "author": "schema:author",
             "author": "schema:author",
Line 12: Line 11:
             "step_name": "schema:name",
             "step_name": "schema:name",
             "step_description": "schema:text"
             "step_description": "schema:text"
         }
         },
    ],
         "/wiki/Category:OSWe2c50b1034684c1b9a5c21ad371d6381?action=raw\u0026slot=jsonschema"
    "type": "object",
    "schema_type": [
         "schema:Recipe"
     ],
     ],
     "allOf": [
     "allOf": [
         {
         {
             "$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
             "$ref": "/wiki/Category:OSWe2c50b1034684c1b9a5c21ad371d6381?action=raw\u0026slot=jsonschema"
         }
         }
     ],
     ],
     "title": "Recipe",
     "title": "Recipe",
    "title*": {
        "de": "Rezept",
        "en": "Recipe"
    },
    "description": "Preparation instructions, e.g. for a dish",
    "description*": {
        "de": "Eine Zubereitungsanleitung, z. B. für ein Gericht",
        "en": "Preparation instructions, e.g. for a dish"
    },
    "type": "object",
    "uuid": "81e9e22e-7d93-4382-a6a5-6df7d3736957",
    "required": [
        "type"
    ],
     "properties": {
     "properties": {
        "type": {
            "default": [
                "Category:OSW81e9e22e7d934382a6a56df7d3736957"
            ]
        },
         "output_count": {
         "output_count": {
             "type": "integer",
             "type": "integer",
Line 83: Line 98:
                     "value": "{{{step_name}}}:\u003Cbr\u003E{{{step_description}}}"
                     "value": "{{{step_name}}}:\u003Cbr\u003E{{{step_description}}}"
                 },
                 },
                "required": [
                    "@type"
                ],
                 "properties": {
                 "properties": {
                    "@type": {
                        "type": "string",
                        "default": "schema:HowToStep",
                        "options": {
                            "hidden": true
                        }
                    },
                     "step_name": {
                     "step_name": {
                         "type": "string",
                         "type": "string",