OntoUML / ontouml-schema

JSON Schema definition of a OntoUML Model Exchange file.
Apache License 2.0
9 stars 4 forks source link

Add individuals to the schema #9

Open tgoprince opened 4 years ago

tgoprince commented 4 years ago

I propose we extend the schema so that we can also exchange objects referring to individuals.

For instance:

{
  "type": "Instance",
  "id": "1",
  "name": "john",
  "description": "This is John!",
  "types": [
    {
      "type": "Class",
      "id": "person-class"
    }
  ],
  "propertyAssignments": {
    "name": "John Doe",
    "age": 30,
    "dataOfBirth": "2000-01-01"
  }
}

Where:

I'm not sure how to handle the instantiation of relations...