Anonymous

Category:OSWb6b006b9d62942429c9b9989e683168a: Difference between revisions

From OSL Demo
import generated schema
No edit summary
Tag: Metadata slot edit
 
(import generated schema)
Tag: Metadata slot edit
jsonschema
Line 1: Line 1:
{
{
     "@context": [
     "@context": [
         "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
         "/wiki/Category:Item?action=raw\u0026slot=jsonschema",
        {
            "uuid": "https://schema.org/identifier",
            "slug": "https://schema.org/identifier",
            "name": "https://schema.org/name",
            "synonym": "https://schema.org/name",
            "compartment": "https://glossary.ecoinvent.org/ld-schema/subcompartment",
            "unit": "https://glossary.ecoinvent.org/ld-schema/unit",
            "comment": "https://schema.org/description",
            "properties": "https://glossary.ecoinvent.org/ld-schema/exchange-properties",
            "cas_number": "https://schema.org/identifier",
            "formula": "https://schema.org/molecularFormula",
            "elementary_exchange": "https://glossary.ecoinvent.org/ld-schema/elementary-exchange"
        }
     ],
     ],
     "allOf": [
     "allOf": [
Line 8: Line 21:
         }
         }
     ],
     ],
    "$schema": "http://json-schema.org/draft-04/schema#",
    "$id": "https://glossary.ecoinvent.org/ld-schema/elementary-exchange.jsonld",
     "type": "object",
     "type": "object",
     "uuid": "b6b006b9-d629-4242-9c9b-9989e683168a",
     "uuid": "b6b006b9-d629-4242-9c9b-9989e683168a",
Line 17: Line 32:
     "description*": {},
     "description*": {},
     "required": [
     "required": [
         "type"
         "type",
        "unit"
     ],
     ],
     "properties": {
     "properties": {
Line 24: Line 40:
                 "Category:OSWb6b006b9d62942429c9b9989e683168a"
                 "Category:OSWb6b006b9d62942429c9b9989e683168a"
             ]
             ]
        },
        "slug": {
            "type": "string",
            "title": "Slug",
            "description": "Unique slug for object.  Used to form the friendly URL"
        },
        "name": {
            "type": "string",
            "title": "Name",
            "description": "Name of the intermediate exchange"
        },
        "synonym": {
            "type": "string",
            "title": "Synonym",
            "description": "Synonyms of the elementary exchange"
        },
        "compartment": {
            "type": "string",
            "title": "Compartment",
            "description": "Environmental compartment of the elementary exchange; note this this is specified as a subcompartment, not a compartment"
        },
        "unit": {
            "type": "string",
            "format": "autocomplete",
            "title": "Unit",
            "description": "Unit of the elementary exchange",
            "options": {
                "autocomplete": {
                    "comment": "EcoinventUnit",
                    "category": "Category:OSW11fba453131d4499acc53cc3645b6479"
                }
            }
        },
        "comment": {
            "type": "string",
            "title": "Comment",
            "description": "Comment on the elementary exchange"
        },
        "properties": {
            "type": "string",
            "title": "Properties",
            "description": "list of exchange properties for the elementary exchange"
        },
        "cas_number": {
            "type": "string",
            "title": "Cas Number",
            "description": "CAS number of the intermediate exchange"
        },
        "formula": {
            "type": "string",
            "title": "Formula",
            "description": "Chemical formula of the exchange"
        },
        "elementary_exchange": {
            "type": "string",
            "title": "Elementary Exchange",
            "description": "Elementary exchange of a process."
         }
         }
     }
     }
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.