object/coppa/1 matches the site
The Coppa Amatoria was created by an unidentified artist or artists from Italy.
C#
public static HumanMadeObject Coppa_1_Unknown()
{
var coppa = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/coppa/1")
.WithLabel("Coppa Amatoria");
coppa.IdentifiedBy = [
new Name("Coppa Amatoria").AsPrimaryName()
];
coppa.ProducedBy = new Production()
{
CarriedOutBy = [
new Group()
.WithId("https://linked.art/example/group/unknown_italian")
.WithLabel("Unidentified Italian")
]
};
return coppa;
}
- 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/coppa/1",
Label = "Coppa Amatoria",
ProducedBy = new Production
{
CarriedOutBy =
[
new Group
{
Id = "https://linked.art/example/group/unknown_italian",
Label = "Unidentified Italian",
},
],
},
IdentifiedBy =
[
new Name("Coppa Amatoria")
{
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/coppa/1",
"type": "HumanMadeObject",
"_label": "Coppa Amatoria",
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/group/unknown_italian",
"type": "Group",
"_label": "Unidentified Italian"
}
]
},
"identified_by": [
{
"type": "Name",
"content": "Coppa Amatoria",
"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/coppa/1",
"type": "HumanMadeObject",
"_label": "Coppa Amatoria",
"identified_by": [
{
"type": "Name",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404670",
"type": "Type",
"_label": "Primary Name"
}
],
"content": "Coppa Amatoria"
}
],
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/group/unknown_italian",
"type": "Group",
"_label": "Unidentified Italian"
}
]
}
} Comparison
The two documents are equivalent (property order ignored, array order significant).