Skip to content

Appearance Complete

One material and texture with the minimum required properties and one material and texture with all properties. Uniform material assignments use the canonical 'value' form. Geometry with two materials and two textures. Default theme and texture are set.

Case

  • id: appearance_complete
  • layer: conformance
  • family: spec_atom
  • artifact_mode: checked-in
  • source_kind: synthetic
  • representation: cityjson
  • path: cases/conformance/v2_0/appearance_complete

Files

  • source: cases/conformance/v2_0/appearance_complete/appearance_complete.city.json

Source JSON

case.json

{
  "artifact_mode": "checked-in",
  "artifact_paths": {
    "source": "cases/conformance/v2_0/appearance_complete/appearance_complete.city.json"
  },
  "assertions": [
    "appearance_preserved",
    "material_assignment",
    "default_material_texture_set",
    "multiple_material_texture_set"
  ],
  "cityjson_version": "2.0",
  "description": "One material and texture with the minimum required properties and one material and texture with all properties. Uniform material assignments use the canonical 'value' form. Geometry with two materials and two textures. Default theme and texture are set.",
  "family": "spec_atom",
  "geometry_kind": "dummy",
  "id": "appearance_complete",
  "layer": "conformance",
  "representation": "cityjson",
  "source_kind": "synthetic",
  "version": 2
}

invariants.json

{
  "checks": [
    {
      "description": "Appearance data survives roundtrip.",
      "id": "appearance_preserved"
    },
    {
      "description": "Default material and texture are set.",
      "id": "default_material_texture_set"
    },
    {
      "description": "Multiple material and texture are set.",
      "id": "multiple_material_texture_set"
    },
    {
      "description": "Uniform material assignments use the canonical 'value' form.",
      "id": "material_assignment"
    }
  ],
  "id": "appearance_complete",
  "kind": "positive",
  "version": 1
}