Linked Art in C#

object/nightwatch/50 matches the site

On linked.art: Required Vocabulary Terms › Artwork · site JSON · type HumanMadeObject · RequiredTerms.NightWatch_Label

C#

public static HumanMadeObject NightWatch_Label()
{
    var nightwatch = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/nightwatch/50")
        .WithLabel("Night Watch by Rembrandt");

    return nightwatch;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/nightwatch/50",
  "type": "HumanMadeObject",
  "_label": "Night Watch by Rembrandt"
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/nightwatch/50",
  "type": "HumanMadeObject",
  "_label": "Night Watch by Rembrandt"
}

Comparison

The two documents are equivalent (property order ignored, array order significant).