object/letter/2 matches the site
The Obermeyer letter described in the archives use case should sort as "000001" within the Stieglitz Family Letters set.
C#
public static HumanMadeObject Order_of_Members()
{
// This has been copied from the Archives doc examples
var parent = new Set()
.WithId("https://linked.art/example/set/archive_sfl")
.WithLabel("Stieglitz Family Letters");
var obermeyer = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/letter/2")
.WithLabel("Obermeyer 1920");
obermeyer.IdentifiedBy = [
new Name("Obermeyer, Bertha (1920)").AsPrimaryName(),
Identifier.SortValue("000001", parent)
];
obermeyer.MemberOf = [parent];
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/2",
Label = "Obermeyer 1920",
IdentifiedBy =
[
new Name("Obermeyer, Bertha (1920)")
{
ClassifiedAs = [Aat.PrimaryName],
},
new Identifier("000001")
{
ClassifiedAs = [Aat.SortValue],
AssignedBy =
[
new AttributeAssignment
{
InfluencedBy =
[
new Set
{
Id = "https://linked.art/example/set/archive_sfl",
Label = "Stieglitz Family Letters",
},
],
},
],
},
],
MemberOf =
[
new Set
{
Id = "https://linked.art/example/set/archive_sfl",
Label = "Stieglitz Family Letters",
},
],
};
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/2",
"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"
}
]
},
{
"type": "Identifier",
"content": "000001",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300456575",
"type": "Type",
"_label": "Sort Value"
}
],
"assigned_by": [
{
"type": "AttributeAssignment",
"influenced_by": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
]
}
]
}
],
"member_of": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/letter/2",
"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)"
},
{
"type": "Identifier",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300456575",
"type": "Type",
"_label": "Sort Value"
}
],
"content": "000001",
"assigned_by": [
{
"type": "AttributeAssignment",
"influenced_by": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
]
}
]
}
],
"member_of": [
{
"id": "https://linked.art/example/set/archive_sfl",
"type": "Set",
"_label": "Stieglitz Family Letters"
}
]
} Comparison
The two documents are equivalent (property order ignored, array order significant).