object/nuveen/1 matches the site
The production of the Nuveen Painting was caused by its commissioning.
C#
public static HumanMadeObject Nuveen_1()
{
var nuveenPainting = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/nuveen/1")
.WithLabel("Nuveen Painting");
nuveenPainting.IdentifiedBy = [
new Name("The Nuveen Painting").AsPrimaryName()
];
nuveenPainting.ProducedBy = new Production()
{
CarriedOutBy = [
new Person()
.WithId("https://linked.art/example/person/dine")
.WithLabel("Jim Dine")
],
CausedBy = [
new Activity()
.WithId("https://linked.art/example/event/nuveen_commission")
.WithLabel("Commission")
]
};
return nuveenPainting;
}
- Role shortcuts AsPrimaryName, AsAccessionNumber and AsSystemAssignedNumber each add a single classification, with the AAT terms Primary Name, Accession Number and System Number.
var humanMadeObject = new HumanMadeObject
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/object/nuveen/1",
Label = "Nuveen Painting",
ProducedBy = new Production
{
CarriedOutBy =
[
new Person
{
Id = "https://linked.art/example/person/dine",
Label = "Jim Dine",
},
],
CausedBy =
[
new Activity
{
Id = "https://linked.art/example/event/nuveen_commission",
Label = "Commission",
},
],
},
IdentifiedBy =
[
new Name("The Nuveen Painting")
{
ClassifiedAs = [Aat.PrimaryName],
},
],
};
Generated from the object the example builds: every property that is set, as object initialisers, with the vocabulary constants where a term is in the registry. The fluent helpers are a convenience, not a requirement; this form and the one as written produce the same JSON.
JSON from the C#
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/nuveen/1",
"type": "HumanMadeObject",
"_label": "Nuveen Painting",
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/person/dine",
"type": "Person",
"_label": "Jim Dine"
}
],
"caused_by": [
{
"id": "https://linked.art/example/event/nuveen_commission",
"type": "Activity",
"_label": "Commission"
}
]
},
"identified_by": [
{
"type": "Name",
"content": "The Nuveen Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404670",
"type": "Type",
"_label": "Primary Name"
}
]
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/nuveen/1",
"type": "HumanMadeObject",
"_label": "Nuveen Painting",
"identified_by": [
{
"type": "Name",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404670",
"type": "Type",
"_label": "Primary Name"
}
],
"content": "The Nuveen Painting"
}
],
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/person/dine",
"type": "Person",
"_label": "Jim Dine"
}
],
"caused_by": [
{
"id": "https://linked.art/example/event/nuveen_commission",
"type": "Activity",
"_label": "Commission"
}
]
}
} Comparison
The two documents are equivalent (property order ignored, array order significant).