object/letter/3 matches the site
C#
public static HumanMadeObject Letter_In_Box()
{
var obermeyer = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/letter/3")
.WithLabel("Obermeyer 1920");
obermeyer.IdentifiedBy = [new Name("Obermeyer, Bertha (1920)").AsPrimaryName()];
obermeyer.MemberOf = [
new Set()
.WithId("https://linked.art/example/set/archive_sfl")
.WithLabel("Stieglitz Family Letters")
];
obermeyer.HeldOrSupportedBy = [
new HumanMadeObject()
.WithId("https://linked.art/example/object/box55")
.WithLabel("Archival Box 55")
];
return obermeyer;
}
- 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/letter/3",
Label = "Obermeyer 1920",
IdentifiedBy =
[
new Name("Obermeyer, Bertha (1920)")
{
ClassifiedAs = [Aat.PrimaryName],
},
],
MemberOf =
[
new Set
{
Id = "https://linked.art/example/set/archive_sfl",
Label = "Stieglitz Family Letters",
},
],
HeldOrSupportedBy =
[
new HumanMadeObject
{
Id = "https://linked.art/example/object/box55",
Label = "Archival Box 55",
},
],
};
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/letter/3",
"type": "HumanMadeObject",
"_label": "Obermeyer 1920",
"identified_by": [
{
"type": "Name",
"content": "Obermeyer, Bertha (1920)",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404670",
"type": "Type",
"_label": "Primary Name"
}
]
}
],
"member_of": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
],
"held_or_supported_by": [
{
"id": "https://linked.art/example/object/box55",
"type": "HumanMadeObject",
"_label": "Archival Box 55"
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/letter/3",
"type": "HumanMadeObject",
"_label": "Obermeyer 1920",
"identified_by": [
{
"type": "Name",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404670",
"type": "Type",
"_label": "Primary Name"
}
],
"content": "Obermeyer, Bertha (1920)"
}
],
"member_of": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
],
"held_or_supported_by": [
{
"id": "https://linked.art/example/object/box55",
"type": "HumanMadeObject",
"_label": "Archival Box 55"
}
]
} Comparison
The two documents are equivalent (property order ignored, array order significant).