/** * Copyright Intellectual Reserve, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.gedcomx.rt; import javax.xml.bind.annotation.XmlTransient; /** * @author Ryan Heaton */ @XmlTransient public class GedcomxConstants { private GedcomxConstants() {} public static final String GEDCOMX_TYPES_NAMESPACE = "http://gedcomx.org/"; //the constrained vocabulary isn't versioned. public static final String GEDCOMX_NAMESPACE = "http://gedcomx.org/v1/"; public static final String GEDCOMX_XML_MEDIA_TYPE = "application/x-gedcomx-v1+xml"; public static final String GEDCOMX_JSON_MEDIA_TYPE = "application/x-gedcomx-v1+json"; public static final String FACET_GEDCOMX_RS = "http://rs.gedcomx.org/"; public static final String FACET_GEDCOMX_RECORD = "http://record.gedcomx.org/"; public static final String FACET_GEDCOMX_CITATION = "http://citation.gedcomx.org/"; public static final String FACET_FS_FT_UNSUPPORTED = "https://familysearch.org/tree#UNSUPPORTED"; public static final String FACET_FS_FT_READ_ONLY = "https://familysearch.org/tree#READ_ONLY"; public static final String GEDCOMX_RECORDSET_XML_MEDIA_TYPE = "application/x-gedcomx-records-v1+xml"; public static final String GEDCOMX_RECORDSET_JSON_MEDIA_TYPE = "application/x-gedcomx-records-v1+json"; }