Skip to content

Commit

Permalink
Rename Schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
yspreen committed Apr 21, 2021
1 parent 5a30d1f commit 0b0a371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PatientScannerDemo/Models/HCert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct InfoSection {

struct HCert {
mutating func parseBodyV1() -> Bool {
let schema = JSON(parseJSON: EU_DGC_SCHEMA).dictionaryObject!
let schema = JSON(parseJSON: EU_DGC_SCHEMA_V1).dictionaryObject!
let bodyDict = body.dictionaryObject!

guard
Expand Down
2 changes: 1 addition & 1 deletion PatientScannerDemo/SupportingFiles/EuDgcSchema.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

let EU_DGC_SCHEMA = """
let EU_DGC_SCHEMA_V1 = """
{
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"$id": "https://github.com/ehn-digital-green-development/hcert-schema/eu_dgc_v1",
Expand Down

0 comments on commit 0b0a371

Please sign in to comment.