001/*
002 *    GeoAPI - Java interfaces for OGC/ISO standards
003 *    Copyright © 2004-2023 Open Geospatial Consortium, Inc.
004 *    http://www.geoapi.org
005 *
006 *    Licensed under the Apache License, Version 2.0 (the "License");
007 *    you may not use this file except in compliance with the License.
008 *    You may obtain a copy of the License at
009 *
010 *        http://www.apache.org/licenses/LICENSE-2.0
011 *
012 *    Unless required by applicable law or agreed to in writing, software
013 *    distributed under the License is distributed on an "AS IS" BASIS,
014 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 *    See the License for the specific language governing permissions and
016 *    limitations under the License.
017 */
018package org.opengis.metadata.quality;
019
020import org.opengis.annotation.UML;
021import org.opengis.annotation.Classifier;
022import org.opengis.annotation.Stereotype;
023
024import static org.opengis.annotation.Specification.*;
025
026
027/**
028 * Degree of adherence to logical rules of data structure, attribution and relationships.
029 * Data structure can be conceptual, logical or physical.
030 * Instances should be one of the following subtypes:
031 * <ul>
032 *   <li>{@link ConceptualConsistency}: adherence to rules of the conceptual schema;</li>
033 *   <li>{@link DomainConsistency}: adherence of values to the value domains;</li>
034 *   <li>{@link FormatConsistency}: degree to which data are stored in accordance with the physical structure of the data set;</li>
035 *   <li>{@link TopologicalConsistency}: correctness of the explicitly encoded topological characteristics of a data set.</li>
036 * </ul>
037 *
038 * @author  Martin Desruisseaux (IRD)
039 * @author  Alexis Gaillard (Geomatys)
040 * @version 3.1
041 * @since   2.0
042 */
043@Classifier(Stereotype.ABSTRACT)
044@UML(identifier="DQ_LogicalConsistency", specification=ISO_19157)
045public interface LogicalConsistency extends Element {
046}