Jump to content

ACME Inc: Difference between revisions

From NeoWiki Demo
NeoWiki (talk | contribs)
Importing NeoWiki demo data
Update NeoWiki subject
Tag: Reverted
neo
Line 1: Line 1:
{
{
     "mainSubject": "s1demo1aaaaaaa1",
     "mainSubject": "s1demo1aaaaaaa2",
     "subjects": {
     "subjects": {
        "s1demo1aaaaaaa1": {
            "label": "ACME Inc.",
            "schema": "Company",
            "statements": {
                "Founded at": {
                    "type": "number",
                    "value": 2005
                },
                "Websites": {
                    "type": "url",
                    "value": [
                        "https://acme.example"
                    ]
                },
                "Status": {
                    "type": "select",
                    "value": [
                        "o1demo1aaaaaaa1"
                    ]
                },
                "World domination progress": {
                    "type": "number",
                    "value": 42
                },
                "Products": {
                    "type": "relation",
                    "value": [
                        {
                            "id": "r1demo1aaaaaar1",
                            "target": "s1demo1aaaaaaa2"
                        },
                        {
                            "id": "r1demo1aaaaaar2",
                            "target": "s1demo1aaaaaaa3"
                        },
                        {
                            "id": "r1demo1aaaaaar3",
                            "target": "s1demo1aaaaaaa4"
                        }
                    ]
                }
            }
        },
         "s1demo1aaaaaaa2": {
         "s1demo1aaaaaaa2": {
             "label": "Foo",
             "label": "Foo",
Line 89: Line 46:
                     "value": [
                     "value": [
                         "https://acme.example/product/baz"
                         "https://acme.example/product/baz"
                    ]
                }
            }
        },
        "s1demo1aaaaaaa1": {
            "label": "ACME Inc.",
            "schema": "Company",
            "statements": {
                "Founded at": {
                    "type": "number",
                    "value": 2005
                },
                "Websites": {
                    "type": "url",
                    "value": [
                        "https://acme.example"
                    ]
                },
                "Status": {
                    "type": "select",
                    "value": [
                        "o1demo1aaaaaaa1"
                    ]
                },
                "World domination progress": {
                    "type": "number",
                    "value": 42
                },
                "Products": {
                    "type": "relation",
                    "value": [
                        {
                            "id": "r1demo1aaaaaar1",
                            "target": "s1demo1aaaaaaa2"
                        },
                        {
                            "id": "r1demo1aaaaaar2",
                            "target": "s1demo1aaaaaaa3"
                        },
                        {
                            "id": "r1demo1aaaaaar3",
                            "target": "s1demo1aaaaaaa4"
                        }
                     ]
                     ]
                 }
                 }

Revision as of 13:34, 23 April 2026

The Main Subject of this page is the Company ACME Inc, shown in the infobox.

The page also contains Child Subjects which are Products.

TODO: show a table here, for now see the "View or edit JSON" developer link in the NeoWiki section of the sidebar

You can have as many Child Subjects on a page as you want. For instance you could also define Employees.

TODO: show a table here, for now see the "View or edit JSON" developer link in the NeoWiki section of the sidebar

It is up to you to choose if you define products, employees and other business objects on their own pages or if you define multiple subjects on a single page.