mirror of
https://github.com/p2p-ld/linkml-activitypub.git
synced 2025-01-10 05:24:26 +00:00
67 lines
1.1 KiB
GraphQL
67 lines
1.1 KiB
GraphQL
type Address
|
|
{
|
|
street: String
|
|
city: String
|
|
postalCode: String
|
|
}
|
|
|
|
type FamilialRelationship
|
|
{
|
|
startedAtTime: Date
|
|
endedAtTime: Date
|
|
relatedTo: String
|
|
type: FamilialRelationshipType!
|
|
relatedTo: Person!
|
|
}
|
|
|
|
interface HasAliases
|
|
{
|
|
aliases: [String]
|
|
}
|
|
|
|
type NamedThing
|
|
{
|
|
id: String!
|
|
name: String
|
|
description: String
|
|
image: String
|
|
}
|
|
|
|
type Organization implements HasAliases
|
|
{
|
|
id: String!
|
|
name: String
|
|
description: String
|
|
image: String
|
|
missionStatement: String
|
|
foundingDate: String
|
|
aliases: [String]
|
|
}
|
|
|
|
type Person implements HasAliases
|
|
{
|
|
id: String!
|
|
name: String
|
|
description: String
|
|
image: String
|
|
primaryEmail: String
|
|
birthDate: String
|
|
ageInYears: Integer
|
|
currentAddress: Address
|
|
hasFamilialRelationships: [FamilialRelationship]
|
|
aliases: [String]
|
|
}
|
|
|
|
type Registry
|
|
{
|
|
persons: [Person]
|
|
organizations: [Organization]
|
|
}
|
|
|
|
type Relationship
|
|
{
|
|
startedAtTime: Date
|
|
endedAtTime: Date
|
|
relatedTo: String
|
|
type: String
|
|
}
|