Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add individuals to the schema #9

Open
tgoprince opened this issue Apr 19, 2020 · 0 comments
Open

Add individuals to the schema #9

tgoprince opened this issue Apr 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@tgoprince
Copy link
Member

tgoprince commented Apr 19, 2020

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:

  • types is an array of reference objects pointing to the types an individual instantiates.
  • propertyAssignments contain the instantiation of attributes

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

@tgoprince tgoprince added the enhancement New feature or request label Apr 19, 2020
@tgoprince tgoprince changed the title Representation of individuals in the schema Add individuals to the schema Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant